package db8;

public class SalariedEmployee extends ColaEmployee{
    int monthsalary;
    public SalariedEmployee(){

    }
    public SalariedEmployee(String name,int bir,int monthsalary){
        super(name,bir);
        this.monthsalary=monthsalary;
    }
    public double getSalary(int month){
        return super.getSalary(month)+monthsalary;
    }
}
